package com.yy.web.pm.billboardRemove.controller;

import com.yy.web.pm.billboardRemove.domain.BillboardRemove;
import com.yy.web.pm.billboardRemove.service.BillboardRemoveService;
import com.yy.web.pm.until.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/billboardRemove")
@Api(tags = "广告牌拆除")
public class BillboardAController {
    @Autowired
    private BillboardRemoveService billboardRemoveService;


    //拆除列表
    @ApiOperation(value = "广告牌拆除列表")
    @GetMapping("/removeList")
    public Result removeList(BillboardRemove billboardRemove){
        return Result.success(billboardRemoveService.selectAllList(billboardRemove));
    }
}
